package top.juntower.dao;

import org.apache.ibatis.annotations.Mapper;
import top.juntower.pojo.Carousel;
import top.juntower.pojo.FoodMatching;
import top.juntower.pojo.dto.FootDta;
import top.juntower.pojo.vo.RankingFootVo;

import java.util.List;

@Mapper
public interface FirstPageMapper {
    //查询轮播图
    List<Carousel> queryFirstPageLunBoTu();
    //查询轮播图
    List<RankingFootVo> queryRecommendation();
    //查询首页信息
    List<RankingFootVo> queryChineseFood(Integer ftId);
    //首页排行榜
    List<RankingFootVo> queryChineseFoodRanking(Integer ftId);
    //首页模糊搜索
    List<FootDta> queryLikeFoot(String footName,Integer pageNum,Integer pageSize);
    //首页食物搭配
    List<FoodMatching> queryFoodMatchingRanking();
}
